package see.battle;

import android.graphics.Color;

public class Const {
  public final static int noServer = 1;
  public final static int localServer = 2;
  public final static int globalServer = 3;
  public final static int AI = 4;
  
  public final static int shipTypesNumber = 6;
  public final static int maxBulletNumber = 10;
  
  public final static int startGameMessageType = 1;
  public final static int bulletMessageType = 2;
  public final static int opponentFocusMessageType = 3;
  public final static int initializeMessageType = 4;
  
  public final static int fromLeftToRightDirection = 1;
  public final static int fromRightToLeftDirection = -1;
  
  public final static int normalBackgroundType = 0;
  public final static int redBackgroundType = 1;
  public final static int grayBackgroundType = 2;
  
  public final static int activeFireType = 0;
  public final static int inactiveFireType = 1;
  
  public final static int myBulletType = 0;
  public final static int opponentBulletType = 1;
   
  public final static long updateDelay = 40;
  public final static long shipDelay = 5000;
  public final static long blastDuration = 3000;
  public final static long noTime = -1;
  
  public final static float bulletSpeed = (float)0.005;
  public final static float shipSpeed = (float)0.005;
  
  public final static float screenMiddle = (float)0.5;
  
  public final static float selectionButtonOneLeft = (float)0.08;
  public final static float selectionButtonOneTop = (float)0.325;
  public final static float selectionButtonOneWidth = (float)0.33;
  public final static float selectionButtonOneHeight = (float)0.5;
  public final static float selectionButtonTwoLeft = (float)0.59;
  public final static float selectionButtonTwoTop = (float)0.325;
  public final static float selectionButtonTwoWidth = (float)0.33;
  public final static float selectionButtonTwoHeight = (float)0.5;

  public final static float resultAgainButtonLeft = (float)0.08;
  public final static float resultAgainButtonTop = (float)0.375;
  public final static float resultAgainButtonWidth = (float)0.33;
  public final static float resultAgainButtonHeight = (float)0.5;
  public final static float resultBackButtonLeft = (float)0.59;
  public final static float resultBackButtonTop = (float)0.375;
  public final static float resultBackButtonWidth = (float)0.33;
  public final static float resultBackButtonHeight = (float)0.5;

  public final static float backgroundLeft = (float)-0.125;
  public final static float backgroundRight = (float)1.125;
  public final static float backgroundSeaLevel = (float)0.77;

  public final static float fireButtonRightLimit = (float)0.25;
  public final static float fireButtonBottomLimit = (float)0.25;
  
  public final static float shipWidth = (float)0.125;
  public final static float shipHeight = (float)0.125;
  
  public final static float bulletWidth = (float)0.03125;
  
  public final static float opponentFocusWidth = (float)0.33;
  
  public final static int blastBackgroundChangeDelayInSteps = 5;
  public final static int blastBackgroundNumber = 2;  
  
  public final static int welcomeTextSize = 20;
  public final static int welcomeTextStrokeWidth = 2;
  public final static float welcomeTextLeft = (float)0.22;
  public final static float welcomeTextTop = (float)0.9;  
  public final static int welcomeTextColor = Color.BLACK;

  public final static int statTextSize = 20;
  public final static int statTextStrokeWidth = 2;
  public final static float statTextLeft = (float)0.3;
  public final static float statTextTop = (float)0.06; 
  public final static int statTextColor = Color.RED;
  
  public final static int resultTextSize = 40;
  public final static int resultTextStrokeWidth = 2;
  public final static float resultTextLeft = (float)0.3;
  public final static float resultTextTop = (float)0.35; 
  public final static int resultTextColor = Color.BLUE;
}
